package quake.responses;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import quake.dao.HashTags;

@XmlRootElement(name="tweet")
@XmlAccessorType(XmlAccessType.FIELD)
public class Tweet {
    @XmlElement(name="theUser")
    private String theUser;

    @XmlElement(name="approxTime")
    private String approxTime;

    @XmlElement(name="theTweet")
    private String theTweet;

    private HashTags hashtags;

    /**
     * @return the theUser
     */
    public String getTheUser() {
        return theUser;
    }

    /**
     * @param theUser the theUser to set
     */
    public void setTheUser(String theUser) {
        this.theUser = theUser;
    }

    /**
     * @return the approxTime
     */
    public String getApproxTime() {
        return approxTime;
    }

    /**
     * @param approxTime the approxTime to set
     */
    public void setApproxTime(String approxTime) {
        this.approxTime = approxTime;
    }

    /**
     * @return the theTweet
     */
    public String getTheTweet() {
        return theTweet;
    }

    /**
     * @param theTweet the theTweet to set
     */
    public void setTheTweet(String theTweet) {
        this.theTweet = theTweet;
    }

    /**
     * @return the hashtags
     */
    public HashTags getHashtags() {
        return hashtags;
    }

    /**
     * @param hashtags the hashtags to set
     */
    public void setHashtags(HashTags hashtags) {
        this.hashtags = hashtags;
    }
}
